﻿namespace K9Nano.Resources;

/// <summary>
/// 定义受权限控制的访问资源
/// </summary>
public interface IResource
{
    string Id { get; set; }

    /// <summary>
    /// 所有者
    /// </summary>
    long? OwnerId { get; set; }

    /// <summary>
    /// 可以访问的权限
    /// </summary>
    string? Permission { get; set; }
}
